@tealess/hooks
React hook library, ready to use, written in Typescript.
A React hooks library, written in Typescript and easy to use. It provides a set of hooks that enables you to build your React applications faster. The hooks are built upon the principles of DRY (Don't Repeat Yourself). There are hooks for most common use cases you might need.
The library is designed to be as minimal as possible. It is fully tree-shakable (using the ESM version), meaning that you only import the hooks you need, and the rest will be removed from your bundle making the cost of using this library negligible. Most hooks are extensively tested and are being used in production environments.
Usage example
import { useLocalStorage } from "@tealess/hooks";
function Component() {
const [value, setValue] = useLocalStorage("my-localStorage-key", 0);
}
🪝 Available Hooks
📝 License
This project is MIT licensed.